package com.rht.gulimallware.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * 库存工作单
 * 
 * @author rht
 * @email rht@qq.com
 * @date 2024-11-07 13:58:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("wms_ware_order_task")
public class WareOrderTaskEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
			@TableId
			private Long id;

	/**
	 * order_id
	 */
			private Long orderId;

	/**
	 * order_sn
	 */
			private String orderSn;

	/**
	 * 收货人
	 */
			private String consignee;

	/**
	 * 收货人电话
	 */
			private String consigneeTel;

	/**
	 * 配送地址
	 */
			private String deliveryAddress;

	/**
	 * 订单备注
	 */
			private String orderComment;

	/**
	 * 付款方式【 1:在线付款 2:货到付款】
	 */
			private Integer paymentWay;

	/**
	 * 任务状态
	 */
			private Integer taskStatus;

	/**
	 * 订单描述
	 */
			private String orderBody;

	/**
	 * 物流单号
	 */
			private String trackingNo;

	/**
	 * create_time
	 */
			   @DateTimeFormat(pattern = "yyyy-MM-dd")
		private Date createTime;

	/**
	 * 仓库id
	 */
			private Long wareId;

	/**
	 * 工作单备注
	 */
			private String taskComment;


}
